package com.springapp.mvc.dao;

import com.springapp.mvc.entity.User;

import java.util.List;

/**
 * Created by dbychkov on 19.12.2014.
 */
public interface UserDao {

    User getUserByName(String name);

    User getUserById(Long id);

    List<User> getAllUsers();

    long createUser(String username, String hashedPassword, Long groupId);
}
